package com.operate.api.app.user.domain.po;

import com.operate.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.math.BigInteger;
import javax.persistence.*;
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "app_user")
public class AppUserPO  extends BaseEntity {

    /**
     * 用户名称
     */
    @Column(name = "user_name")
    private String userName;

    /**
     * 用户手机
     */
    @Column(name = "user_phone")
    private String userPhone;

    /**
     * 用户密码
     */
    @Column(name = "user_password")
    private String userPassword;

    /**
     * 用户头像
     */
    @Column(name = "use_img")
    private String useImg;

    /**
     * 充值总金额
     */
    @Column(name = "recharge_money")
    private BigDecimal rechargeMoney;

    /**
     * 用户余额(豆子)
     */
    @Column(name = "user_balance")
    private BigInteger userBalance;


    /**
     * 是否开启青少年模式 1 是 2 否
     */
    @Column(name = "is_young")
    private Integer isYoung;

    /**
     * 青少年模式密码
     */
    @Column(name = "young_password")
    private String youngPassword;


}